import { createRouter, createWebHistory } from 'vue-router'
import App from '../App.vue'
import HomePage from "@/components/HomePage.vue";
import WorkStation from "@/components/WorkStation.vue";


const routes  = [
    {
        path: '/',
        redirect:'/WorkStation'
    },
    {
        path :'/HomePage',
        name :'HomePage',
        component : HomePage
    },
    {
        path: '/WorkStation',
        name: 'WorkStation',
        component: WorkStation
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router